Skip to content

Conversation

@arxioly
Copy link
Contributor

@arxioly arxioly commented Dec 22, 2025

Description

This PR is fixes the schema validation in APIML components. See, the linked issue.

Linked to #3142

Type of change

  • fix: Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • PR title conforms to commit message guideline ## Commit Message Structure Guideline
  • I have commented my code, particularly in hard-to-understand areas. In JS I did provide JSDoc
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • The java tests in the area I was working on leverage @nested annotations
  • Any dependent changes have been merged and published in downstream modules

For more details about how should the code look like read the Contributing guideline

Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
@arxioly arxioly requested a review from pablocarle January 6, 2026 16:41
Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
@EvaJavornicka EvaJavornicka moved this from New to In Progress in API Mediation Layer Backlog Management Jan 7, 2026
Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
@arxioly arxioly requested a review from pablocarle January 16, 2026 16:59
@sonarqubecloud
Copy link

},
"sslDebug": {
"type": "string",
"description": "Configure attributes fro SSL config, see java property javax.net.debug."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "Configure attributes fro SSL config, see java property javax.net.debug."
"description": "Configure attributes for SSL config, see java property javax.net.debug."

},
"sslDebug": {
"type": "string",
"description": "Configure attributes fro SSL config, see java property javax.net.debug."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "Configure attributes fro SSL config, see java property javax.net.debug."
"description": "Configure attributes for SSL config, see java property javax.net.debug."

Comment on lines +558 to +563
"description": "How many connections should exist for single route?",
"default": 100
},
"maxTotalConnections": {
"type": "integer",
"description": "How many connections should exist in total?",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these descriptions (in general) shown in logs or other places? Should they go with review from doc squad? Wondering about the description with question marks

"properties": {
"port": {
"$ref": "#/$defs/port",
"default": 7553
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"default": 7553
"default": 7554

"properties": {
"port": {
"$ref": "#/$defs/port",
"default": 7552
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"default": 7552
"default": 7553

"properties": {
"enabled": {
"type": "boolean",
"description": "To enable SSL/tls layer.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "To enable SSL/tls layer.",
"description": "To enable SSL/TLS layer.",

Comment on lines +189 to +193
"internal": {
"type": "object",
"description": "Single-service specific configuration",
"properties": {
"discovery": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the property is named internal-discovery, though for now we pick it from the discovery component setting in first order

"description": "To enable accepting client certificate from request header. It is used in domain APIML to accept forwarded client certificate by the caller.",
"default": false
},
"certificatesUrl": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think one of these two is deprecated, I'm inclined to think it's the one in singular

Comment on lines +505 to +509
"provider": {
"type": "string",
"description": "Method of communication used by the SAF IDT provider implementation. REST is used if no value is provided.",
"enum": ["rest"],
"default": "rest"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this one should allow for custom values (thinking about extensions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants